package cn.zebra.dev.admin.module.product.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class ProductExcelDTO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("商品名")
    @ColumnWidth(20)
    private String productName;

    @ExcelProperty("商品编号")
    @ColumnWidth(14)
    private String productSn;

    @ExcelProperty("商品图片地址")
    private String productImage;

    @ExcelProperty("单位名称")
    private String unitName;
}
